package com.cosina.game.tank;

import android.graphics.Rect;

public class Constants {
	public static final int TILE_SIZE  = 32;
	public static final int RADIUS = TILE_SIZE/2;
	
	
	public static final int START_X = 0;
	public static final int START_Y = 3;
	
	public static final int XTILE_COUNT = 11;
	public static final int YTILE_COUNT = 9;
	
	public static final int END_X = START_X + XTILE_COUNT*TILE_SIZE;
	public static final int END_Y = START_Y + YTILE_COUNT*TILE_SIZE;
	
	public static final Rect area = new Rect(0, 0, XTILE_COUNT * TILE_SIZE, YTILE_COUNT * TILE_SIZE);
	
	public static final Rect drawArea = new Rect(area);
	static {
		drawArea.offset(START_X, START_Y);
	}
	public static final Rect side = new Rect(drawArea);
	static {
		side.inset(1, 1);
	}
	
	
	public static final int speed = 5;
	
	public static final int ENEMY_MOVE_STEP = 16;
	public static final int ENEMY_MOVE_SPEED = 2;
	public static final int SELF_MOVE_SPEED = 4;
}
